package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.Passenger;
import com.ruoyi.system.mapper.PassengerMapper;
import com.ruoyi.system.service.PassengerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PassengerServiceImpl implements PassengerService {
    @Autowired
    private PassengerMapper passengerMapper;

    @Override
    public Passenger selectPassengerByUserCode(String userCode) {
        return passengerMapper.selectPassengerByUserCode(userCode);
    }
}
